def demo(num, *nums, **person):
    print(num)
    print(nums)
    print(person)


def sum_nums(*nums):
    num = 0
    # print(nums)
    for n in nums:
        num += n
    return num


result = sum_nums(1, 2, 3, 4, 5, 6, 7)
print(result)

# demo(1)
# demo(1, 2, 3, 4, 6)
# demo({"name": "kevin", "age": 18})
